package code.utils
{
	import com.darwin.darwinDll.Dll;
	
	import flash.display.DisplayObject;

	public class MaterialUtil
	{
		public function MaterialUtil()
		{
		}
		
		public static function getPreloadMaterial(key:String = "",subKey:String = ""):DisplayObject{
			var cl:Class = Dll.getInstance().getSynPreloadRes(key,subKey) as Class;
			return new cl as DisplayObject;
		}
		
	}
}